Optimal. Leaf size=305 \[ -\frac {a^3}{d (c+d x)}+\frac {3 a^2 b f g n \log (F) \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac {c f}{d}\right )-g n (e+f x)} \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )}{d^2}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{d (c+d x)}+\frac {6 a b^2 f g n \log (F) \left (F^{e g+f g x}\right )^{2 n} F^{2 g n \left (e-\frac {c f}{d}\right )-2 g n (e+f x)} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )}{d^2}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{d (c+d x)}+\frac {3 b^3 f g n \log (F) \left (F^{e g+f g x}\right )^{3 n} F^{3 g n \left (e-\frac {c f}{d}\right )-3 g n (e+f x)} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )}{d^2}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{d (c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.49, antiderivative size = 305, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {2183, 2177, 2182, 2178} \[ \frac {3 a^2 b f g n \log (F) \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac {c f}{d}\right )-g n (e+f x)} \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )}{d^2}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{d (c+d x)}-\frac {a^3}{d (c+d x)}+\frac {6 a b^2 f g n \log (F) \left (F^{e g+f g x}\right )^{2 n} F^{2 g n \left (e-\frac {c f}{d}\right )-2 g n (e+f x)} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )}{d^2}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{d (c+d x)}+\frac {3 b^3 f g n \log (F) \left (F^{e g+f g x}\right )^{3 n} F^{3 g n \left (e-\frac {c f}{d}\right )-3 g n (e+f x)} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )}{d^2}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{d (c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2177
Rule 2178
Rule 2182
Rule 2183
Rubi steps
\begin {align*} \int \frac {\left (a+b \left (F^{g (e+f x)}\right )^n\right )^3}{(c+d x)^2} \, dx &=\int \left (\frac {a^3}{(c+d x)^2}+\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{(c+d x)^2}+\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{(c+d x)^2}+\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{(c+d x)^2}\right ) \, dx\\ &=-\frac {a^3}{d (c+d x)}+\left (3 a^2 b\right ) \int \frac {\left (F^{e g+f g x}\right )^n}{(c+d x)^2} \, dx+\left (3 a b^2\right ) \int \frac {\left (F^{e g+f g x}\right )^{2 n}}{(c+d x)^2} \, dx+b^3 \int \frac {\left (F^{e g+f g x}\right )^{3 n}}{(c+d x)^2} \, dx\\ &=-\frac {a^3}{d (c+d x)}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{d (c+d x)}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{d (c+d x)}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{d (c+d x)}+\frac {\left (3 a^2 b f g n \log (F)\right ) \int \frac {\left (F^{e g+f g x}\right )^n}{c+d x} \, dx}{d}+\frac {\left (6 a b^2 f g n \log (F)\right ) \int \frac {\left (F^{e g+f g x}\right )^{2 n}}{c+d x} \, dx}{d}+\frac {\left (3 b^3 f g n \log (F)\right ) \int \frac {\left (F^{e g+f g x}\right )^{3 n}}{c+d x} \, dx}{d}\\ &=-\frac {a^3}{d (c+d x)}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{d (c+d x)}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{d (c+d x)}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{d (c+d x)}+\frac {\left (3 a^2 b f F^{-n (e g+f g x)} \left (F^{e g+f g x}\right )^n g n \log (F)\right ) \int \frac {F^{n (e g+f g x)}}{c+d x} \, dx}{d}+\frac {\left (6 a b^2 f F^{-2 n (e g+f g x)} \left (F^{e g+f g x}\right )^{2 n} g n \log (F)\right ) \int \frac {F^{2 n (e g+f g x)}}{c+d x} \, dx}{d}+\frac {\left (3 b^3 f F^{-3 n (e g+f g x)} \left (F^{e g+f g x}\right )^{3 n} g n \log (F)\right ) \int \frac {F^{3 n (e g+f g x)}}{c+d x} \, dx}{d}\\ &=-\frac {a^3}{d (c+d x)}-\frac {3 a^2 b \left (F^{e g+f g x}\right )^n}{d (c+d x)}-\frac {3 a b^2 \left (F^{e g+f g x}\right )^{2 n}}{d (c+d x)}-\frac {b^3 \left (F^{e g+f g x}\right )^{3 n}}{d (c+d x)}+\frac {3 a^2 b f F^{\left (e-\frac {c f}{d}\right ) g n-g n (e+f x)} \left (F^{e g+f g x}\right )^n g n \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right ) \log (F)}{d^2}+\frac {6 a b^2 f F^{2 \left (e-\frac {c f}{d}\right ) g n-2 g n (e+f x)} \left (F^{e g+f g x}\right )^{2 n} g n \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right ) \log (F)}{d^2}+\frac {3 b^3 f F^{3 \left (e-\frac {c f}{d}\right ) g n-3 g n (e+f x)} \left (F^{e g+f g x}\right )^{3 n} g n \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right ) \log (F)}{d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.32, size = 250, normalized size = 0.82 \[ -\frac {a^3 d-3 a^2 b f g n \log (F) (c+d x) \left (F^{g (e+f x)}\right )^n F^{-\frac {f g n (c+d x)}{d}} \text {Ei}\left (\frac {f g n (c+d x) \log (F)}{d}\right )+3 a^2 b d \left (F^{g (e+f x)}\right )^n-6 a b^2 f g n \log (F) (c+d x) \left (F^{g (e+f x)}\right )^{2 n} F^{-\frac {2 f g n (c+d x)}{d}} \text {Ei}\left (\frac {2 f g n (c+d x) \log (F)}{d}\right )+3 a b^2 d \left (F^{g (e+f x)}\right )^{2 n}-3 b^3 f g n \log (F) (c+d x) \left (F^{g (e+f x)}\right )^{3 n} F^{-\frac {3 f g n (c+d x)}{d}} \text {Ei}\left (\frac {3 f g n (c+d x) \log (F)}{d}\right )+b^3 d \left (F^{g (e+f x)}\right )^{3 n}}{d^2 (c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 259, normalized size = 0.85 \[ -\frac {3 \, F^{f g n x + e g n} a^{2} b d + 3 \, F^{2 \, f g n x + 2 \, e g n} a b^{2} d + F^{3 \, f g n x + 3 \, e g n} b^{3} d + a^{3} d - 3 \, {\left (b^{3} d f g n x + b^{3} c f g n\right )} F^{\frac {3 \, {\left (d e - c f\right )} g n}{d}} {\rm Ei}\left (\frac {3 \, {\left (d f g n x + c f g n\right )} \log \relax (F)}{d}\right ) \log \relax (F) - 6 \, {\left (a b^{2} d f g n x + a b^{2} c f g n\right )} F^{\frac {2 \, {\left (d e - c f\right )} g n}{d}} {\rm Ei}\left (\frac {2 \, {\left (d f g n x + c f g n\right )} \log \relax (F)}{d}\right ) \log \relax (F) - 3 \, {\left (a^{2} b d f g n x + a^{2} b c f g n\right )} F^{\frac {{\left (d e - c f\right )} g n}{d}} {\rm Ei}\left (\frac {{\left (d f g n x + c f g n\right )} \log \relax (F)}{d}\right ) \log \relax (F)}{d^{3} x + c d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left ({\left (F^{{\left (f x + e\right )} g}\right )}^{n} b + a\right )}^{3}}{{\left (d x + c\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.08, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \left (F^{\left (f x +e \right ) g}\right )^{n}+a \right )^{3}}{\left (d x +c \right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ {\left (F^{e g}\right )}^{3 \, n} b^{3} \int \frac {{\left (F^{f g x}\right )}^{3 \, n}}{d^{2} x^{2} + 2 \, c d x + c^{2}}\,{d x} + 3 \, {\left (F^{e g}\right )}^{2 \, n} a b^{2} \int \frac {{\left (F^{f g x}\right )}^{2 \, n}}{d^{2} x^{2} + 2 \, c d x + c^{2}}\,{d x} + 3 \, {\left (F^{e g}\right )}^{n} a^{2} b \int \frac {{\left (F^{f g x}\right )}^{n}}{d^{2} x^{2} + 2 \, c d x + c^{2}}\,{d x} - \frac {a^{3}}{d^{2} x + c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (a+b\,{\left (F^{g\,\left (e+f\,x\right )}\right )}^n\right )}^3}{{\left (c+d\,x\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \left (F^{e g} F^{f g x}\right )^{n}\right )^{3}}{\left (c + d x\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________